package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 录播对象 recordedbroadcast
 * 
 * @author kinglu
 * @date 2021-11-30
 */
public class Recordedbroadcast extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 用户编号 */
    @Excel(name = "用户编号")
    private Long userId;

    /** 录播名称 */
    @Excel(name = "录播名称")
    private String recordedName;

    /** 录播时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "录播时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date recordedTime;

    /** 录播地址 */
    @Excel(name = "录播地址")
    private String recordedUrl;

    /** 备注 */
    @Excel(name = "备注")
    private String memo;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setRecordedName(String recordedName) 
    {
        this.recordedName = recordedName;
    }

    public String getRecordedName() 
    {
        return recordedName;
    }
    public void setRecordedTime(Date recordedTime) 
    {
        this.recordedTime = recordedTime;
    }

    public Date getRecordedTime() 
    {
        return recordedTime;
    }
    public void setRecordedUrl(String recordedUrl) 
    {
        this.recordedUrl = recordedUrl;
    }

    public String getRecordedUrl() 
    {
        return recordedUrl;
    }
    public void setMemo(String memo) 
    {
        this.memo = memo;
    }

    public String getMemo() 
    {
        return memo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("recordedName", getRecordedName())
            .append("recordedTime", getRecordedTime())
            .append("recordedUrl", getRecordedUrl())
            .append("memo", getMemo())
            .toString();
    }

}
